<?php 
/*
 module:		发布管理验证器
 create_time:	2022-03-09 16:31:00
 author:		
 contact:		
*/

namespace app\api\validate;
use think\validate;

class ZhAuthentication extends validate {


//	protected $rule = [
//		'head_portrait'=>['require'],
//		'real_name'=>['require'],
//		'date_birth'=>['require'],
//		'city'=>['require'],
//		'height'=>['require'],
//		'weight'=>['require'],
//		'education'=>['require'],
//		'marital_status'=>['require'],
//		'contact_type'=>['require'],
//		'contact'=>['require'],
//		'nation'=>['require'],
//		'occupation'=>['require'],
//		'income'=>['require'],
//		'purchase_status'=>['require'],
//		'vehicle_status'=>['require'],
//		'is_smoking'=>['require'],
//		'is_drink'=>['require'],
//		'o_age'=>['require'],
//		'o_height'=>['require'],
//		'o_city'=>['require'],
//		'o_weight'=>['require'],
//		'o_education'=>['require'],
//		'o_marital_status'=>['require'],
//		'o_income'=>['require'],
//		'o_nation'=>['require'],
//		'o_purchase_status'=>['require'],
//		'o_vehicle_status'=>['require'],
//		'o_is_smoking'=>['require'],
//		'o_is_drink'=>['require'],
////		'release_type'=>['require'],
//	];

//	protected $message = [
//		'head_portrait.require'=>'头像不能为空',
//		'real_name.require'=>'真实姓名不能为空',
//		'date_birth.require'=>'出生日期不能为空',
//		'city.require'=>'所在地城市不能为空',
//		'height.require'=>'身高不能为空',
//		'weight.require'=>'体重不能为空',
//		'education.require'=>'学历不能为空',
//		'marital_status.require'=>'婚姻状况不能为空',
//		'contact_type.require'=>'联系方式不能为空',
//		'contact.require'=>'联系号码不能为空',
//		'nation.require'=>'民族不能为空',
//		'occupation.require'=>'职业不能为空',
//		'income.require'=>'月收入不能为空',
//		'purchase_status.require'=>'购房情况不能为空',
//		'vehicle_status.require'=>'购车情况不能为空',
//		'is_smoking.require'=>'是否抽烟不能为空',
//		'is_drink.require'=>'是否喝酒不能为空',
//		'o_age.require'=>'择偶年龄不能为空',
//		'o_height.require'=>'择偶身高不能为空',
//		'o_city.require'=>'择偶所在地不能为空',
//		'o_weight.require'=>'择偶体重不能为空',
//		'o_education.require'=>'择偶学历不能为空',
//		'o_marital_status.require'=>'择偶婚况不能为空',
//		'o_income.require'=>'择偶月收入不能为空',
//		'o_nation.require'=>'择偶民族不能为空',
//		'o_purchase_status.require'=>'择偶购房情况不能为空',
//		'o_vehicle_status.require'=>'择偶购车情况不能为空',
//		'o_is_smoking.require'=>'择偶是否吸烟不能为空',
//		'o_is_drink.require'=>'择偶是否喝酒不能为空',
////		'release_type.require'=>'发布类型不能为空',
//	];

//	protected $scene  = [
//		'add'=>['head_portrait','real_name','date_birth','city','height','weight','education','marital_status','contact_type','contact','nation','occupation','income','purchase_status','vehicle_status','is_smoking','is_drink','o_age','o_height','o_city','o_weight','o_education','o_marital_status','o_income','o_nation','o_purchase_status','o_vehicle_status','o_is_smoking','o_is_drink'],
//	];



}

